If a thread is permanently consumed with such a task, it has effectively been removed from the pool.
如果某个线程被这样一个任务永久地消耗着,那么它实际上就被从池除去了。
The Task Parallel Library, or TPL, is essentially an advanced version of the.net thread pool.
任务并行库,又被称为TPL,本质上是一个高级版本的。NET线程池。
A significant risk in all kinds of thread pools is thread leakage, which occurs when a thread is removed from the pool to perform a task, but is not returned to the pool when the task completes.
各种类型的线程池中一个严重的风险是线程泄漏,当从池中除去一个线程以执行一项任务,而在任务完成后该线程却没有返回池时,会发生这种情况。
应用推荐